from lib.Character.Elements import Element
from lib.Item import ItemType
from lib.Item.Item import Item


class Crystal(Item):
    def __init__(self, item_id, fire, water, earth, wind, light, dark):
        super(Crystal, self).__init__(item_id, ItemType.CRYSTAL)
        self.fire = Element(fire)
        self.water = Element(water)
        self.earth = Element(earth)
        self.wind = Element(wind)
        self.light = Element(light)
        self.dark = Element(dark)

        self.max_num = 10
